Api.WriteAxisAlias method

Writes an alias index into an axis. The alias index allows you to reorder the list of axes if the cabling doesn't match the program.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError WriteAxisAlias(
       int Index,
       int Alias
)
Public Function WriteAxisAlias(
       Index As Integer,
       Alias As Integer
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Alias

Type: int

The alias index for the axis to replace the index in the axis list. Indexes are zero based.

Return value

Type: KsError

A return code of a method.

Remarks

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.Local.Api Namespace